#pragma once

struct CustomFileInfo
{
	CString m_sFileName;
	LARGE_INTEGER m_liFileSize;
	DWORD m_dwAttr;
	CString m_sPicUrl;
	union
	{
		FILETIME m_ftLastModTime;
		BYTE m_byFileState;
	};
	bool operator<(const CustomFileInfo& o) const
	{
		return m_dwAttr<o.m_dwAttr;
	}
};

#define PARENT_DIRECTORY	0x00000001
#define NORMAL_DIRECTORY	0x00000002
#define NORMAL_FILE			0x00000003
#define PICTURE_FILE        0x00000004